package com.barry.pattern.adapter;

public class Gun extends Tool{
	void cut(){
		System.err.println("使用长枪突刺！");
	}

	@Override
	public void use() {
		if (usable()) {
			cut();
		}
		super.use();
	}
}
